package com.baor.fegin;

import com.baor.domain.UserVO;
import com.baor.util.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.Map;

@FeignClient(name = "garbageSys", path = "/garbageSys")
public interface  ExceptionManagerFeignClient {
    @RequestMapping("/exceptiongd/getList")
    R getExceptionManagerInfo(@RequestBody Map<String, Object> params);
    @RequestMapping("/exceptiongd/getOneList/{id}")
    R getInfo(@PathVariable("id") Integer id);
    @RequestMapping("/userManager/login")
    R login(@RequestBody UserVO user);
}
  